<h4>INFO &raquo; <span class="current_page">TAGIHAN MAHASISWA</span></h4>

            <!-- Begin three column window -->
<div class="onecolumn" style="padding-bottom:20px">
    <div class="header"> <?php if($tagihan != NULL): ?>
    <span>TAGIHAN MAHASISWA</span>
	</div>  <?php endif; ?>
	<br class="clear"/>


<div class="text">
<br />
<div align="center">
   <div class="data_mhs">
   <?php if($biodata != NULL): ?>
     <table class="uiTableList" cellpadding="5" cellspacing="0" border="0">
     <tbody>
       <tr align="left">
         <td>Nama Lengkap</td>
         <td><b><?php echo ucwords(strtolower($biodata->NAMA)) ?></b></td>
       </tr>
       <tr align="left">
         <td>Program Studi</td>
         <td width="380"><?php echo ucwords(strtolower($biodata->NAMA_PRODI));?> / <?php echo $biodata->KODE_PRODI;?></td>
       </tr>
       <tr align="left">
         <td>NIM</td>
         <td><?php echo $biodata->NIM ?></td>
       </tr>
       </tbody>
      </table>
	  <?php endif; ?>
	     <?php if($tagihan != NULL): ?>
      <br />
	  <form action="<?php echo base_url().'siab/proses-pembayaran.html'?>" method="post">
	  <table class="uiTableList" cellpadding="5" cellspacing="0" border="0">
		 <tbody>
		 	<tr class="font_white" bgcolor="#000000" align="center">
                <th width="30" height="43">No.</th>
                <th width="97">Jumlah</th>
                <th width="200">Tagihan</th>
                <th width="150">Semester</th>
				<th width="150">Tahun</th>
				<th width="60">Select</th>
            </tr>
			<input name="nim" type="hidden" value="<?php echo $biodata->NIM ?>" />
			<?php $seq_number=1;
			foreach($tagihan as $tagihanValue):?>
			<tr align="center">
			 <td><?php echo $seq_number ?></td>
			 <td><?php echo number_format($tagihanValue->JUMLAH,2,',','.') ?></td>
			 <td><input name="tagihan" type="hidden" value="<?php echo $tagihanValue->KODE_TAGIHAN ?>" /><?php echo $tagihanValue->TAGIHAN ?></td>
			 <td><?php echo $tagihanValue->NAMA_SEMESTER ?></td>
			 <td><?php echo $tagihanValue->NAMA_TAHUN ?></td>
			 <td><input name="bayar" type="radio" value="<?php echo $tagihanValue->ID_NERACA ?>" <?php if($seq_number==1){?> checked="checked" <? }?>/></td>
		   </tr>
		   <?php $seq_number++;
		   endforeach;?>
		   <tr align="center">
			 <td colspan="6"><input title="Klik untuk validasi" name="Submit" type="submit" value="Validasi" /> |
			 <img src="<?php echo base_url().'images/back.png' ?>" align=top /> <a title="Klik untuk kembali" href="<?php echo base_url().'siab/' ?>">KEMBALI</a></td>
		   </tr>
		 </tbody>
	 </table>
	 </form>
     <?php else :?>
      <div style="width:500px">
          <div id="p_messages_error">
           Maaf, data tidak tersedia.
          </div>
		  <img src="<?php echo base_url().'images/back.png' ?>" align=top /> <a title="Klik untuk kembali" href="<?php echo base_url().'siab/' ?>">KEMBALI</a>
      </div>
     <?php endif;?>

   </div>
</div>

<div class="separator_closer">&nbsp;</div>
</div>
</div>